package com.power.service;
import com.power.entity.*;

import java.io.IOException;
import java.util.Date;
import java.util.Map;

/**
 * @author Lijunxiong
 */
public interface ElectricPowerService {

	/**
	 * 电力数据存入redis
	 * @param valueOf
	 * @param valueOf2
	 * @param powerToHighAndLows
	 * @param dataType
	 */
	void addPowerToRedis(String valueOf, String valueOf2, String powerToHighAndLows,String dataType);

	/**
	 * 定时存储数据到mongodb
	 */
	void powerMongodbByRedis();
}
